package com.dream.house.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.com.servyou.base.exception.DAOException;

import com.dream.house.dao.base.IDAO;
import com.dream.house.entity.BuildDTO;

/**
 * 房源信息-幢信息DAO接口
 * @author ahk
 * @since 1.0
 */
@Repository
public interface BuildDAO extends IDAO{
	
	boolean saveBuild(BuildDTO dto) throws DAOException;
	
	boolean updateBuild(BuildDTO dto) throws DAOException;
	
	boolean removeBuild(String id) throws DAOException;
	
	List<BuildDTO> findBuilds(BuildDTO dto) throws DAOException;
	
	BuildDTO getBuild(String id) throws DAOException;
}
